//	--------------------------------------------------------------------
//	Copyright(C) 2006,2007 Zhao Yukun. All rights reserved.
//	This file is a part of the Xeres system.
//	Xeres 2007
//	Contact : xeres.engine@gmail.com
//	$(reservedInfo)
//	$(reservedDeclaration)
//	--------------------------------------------------------------------
///	@file	<XFlipFrame.cpp>
///	@path	~/src/appear/xwin/
///	@date	2008/11/24
///	@brief	.

#define _FULLAPI
#include "config/config.h"

#include "gui/composite/composition.h"
#include "appear/xwin/XFlipFrame.h"

namespace xeres {

	IMPL_IOBJECT_CLASS_DYNAMIC( XFlipFrame );

	// XFlipFrame
	XFlipFrame::XFlipFrame( void )
		: XAppFrame()
	{
		m_transform.identity();
	}
	// XFlipFrame
	XFlipFrame::XFlipFrame( const Rect<int>& placement )
		: XAppFrame( placement )
	{
		m_transform.identity();
	}
	// XFlipFrame
	XFlipFrame::XFlipFrame( const Pair<int>& size )
		: XAppFrame( size )
	{
		m_transform.identity();
	}
	// ~XFlipFrame
	XFlipFrame::~XFlipFrame( void )
	{
	}

	// SetPosition
	bool XFlipFrame::SetPosition( const Pair<int>& pos )
	{
		return __super::SetPosition( pos );
	}

	// SetSize
	bool XFlipFrame::SetSize( const Pair<int>& size )
	{
		return __super::SetSize( size );
	}

	// SetTransform
	void XFlipFrame::SetTransform( const Matrix<float>& xform )
	{
		m_transform = xform;
	}

	// GetFlipTransform
	const Matrix<float>& XFlipFrame::GetFlipTransform( void )
	{
		return m_transform;
	}

	// SetParent
	bool XFlipFrame::SetParent( RefWeak<IGuiForm> parent )
	{
		return __super::SetParent( parent );
	}

	// OnClose
	void XFlipFrame::OnClose( void )
	{
		__super::OnClose();
	}

	// OnComposite
	void XFlipFrame::OnComposite( RenderContext& rc , FrameComposition& fc )
	{

	}

} // namespace xeres
